//
//  OPBoardConfig.h
//  OPFramework
//
//  Created by malcom on 7/16/08.
//  Copyright 2008 malcom-mac software. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "OPBaseObject.h"

#define OPBoardConfig_BoardContact		@"board_contact"
#define OPBoardConfig_Sitename			@"sitename"
#define OPBoardConfig_SiteDesc			@"site_desc"
#define OPBoardConfig_PHPBBVersion		@"phpbb_version"
#define OPBoardConfig_NumFiles			@"num_files"
#define OPBoardConfig_NumPosts			@"num_posts"
#define OPBoardConfig_NumTopics			@"num_topics"
#define OPBoardConfig_NumUsers			@"num_users"
#define OPBoardConfig_RecordOnlineDate	@"record_online_date"
#define OPBoardConfig_RecordOnlineUsers	@"record_online_users"
#define OPBoardConfig_OnlineGuests		@"online_guests"
#define OPBoardConfig_OnlineUsers		@"online"
#define OPBoardConfig_OnlineTimeStats	@"load_online_time"
#define OPBoardConfig_TopicsPerPage		@"topics_per_page"
#define OPBoardConfig_PostsPerPage		@"posts_per_page"

@interface OPBoardConfig : OPBaseObject {
	NSMutableDictionary	*_configurationData;
}

#pragma mark GET VALUES
- (id) getPropertyForKey:(NSString *) key;

#pragma mark PRIVATE METHODS
- (void) _updateConfigWithData:(NSArray *) _result;

@end
